#include "init.h"
#include "interrupt.h"
#include "led.h"
#include "nor_flash.h"
#include "s3c2440.h"
#include "timer.h"
#include "uart.h"
#include "nand_flash.h"

char g_Char = 'A';
char g_Char3 = 'a';
const char g_Char2 = 'B';
int g_A = 0;
int g_B;

int main() {
  uart0_init();
  printf("QQ2440 boot.....\n\r");
  //   interrupt_init();
  key_eint_init();
  // timer_init();

  led_test();

  nand_init();
  // nand_flash_test();
  // nor_flash_test();
  lcd_test();

  while (1) {
    putchar(g_Char);
    g_Char++;

    putchar(g_Char3);
    g_Char3++;

    delay(1000000);
  }

  return 0;
}
